package zhangqi.com.contentproviderdemo;

import android.content.ContentValues;
import android.database.sqlite.SQLiteDatabase;
import android.test.AndroidTestCase;

public class Test extends AndroidTestCase {

    public void test(){
        MyOpenHelper oh = new MyOpenHelper(getContext());
        SQLiteDatabase db = oh.getWritableDatabase();
        for (int i=1;i<=7;i++){
            ContentValues values = new ContentValues();
            values.put("name",i+"娃");
            values.put("money","3421000");
            db.insert("person",null,values);
        }

    }


}
